package com.woniu.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 培训师后端列表展示业务对象
 * @author tarnett
 */
@Data
@Schema(title = "培训师后端列表展示业务对象")
public class TrainerListVO {
    @Schema(title ="ID")
    private Long id;
    @Schema(title ="名称")
    private String name;
    @Schema(title ="头衔：1初级 2中级 3高级 4首席")
    private Integer level;
    @Schema(title ="头像")
    private String avatar;
    @Schema(title ="入驻时间")
//    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
}